TListBiew.Items.IndexOf

Otázka od: Vaclav Sazima

15. 11. 2002 14:31

 Ahoj,
neporadil by mi nekdo proc

lvData : TListView;
{OwnerData = true, OwnerDraw = true, ViewStyle = vsReport, MultiSelect =
true}

if assigned (lvData.Selected) then
   I := lvData.Items.IndexOf (lvData.Selected);

vrati -1?
  Vaclav Sazima